.photo-uploader {
  margin: 20px 0;
}

.upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.drop-area {
  width: 100%;
  height: 200px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  overflow: hidden;
  position: relative;
}

.drop-area:hover {
  border-color: #2196F3;
  background-color: #f0f8ff;
}

.drop-area.has-preview {
  border-style: solid;
  border-color: #2196F3;
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
}

.placeholder svg {
  margin-bottom: 10px;
  color: #999;
}

.placeholder p {
  margin: 0;
  text-align: center;
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 5px;
}

.preview-image {
  width: calc(33.333% - 4px);
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.error-message {
  color: #f44336;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

.upload-button {
  background-color: #2196F3;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.upload-button:hover {
  background-color: #0b7dda;
}

.upload-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}